<?php namespace Admin\Controller;
use Common\Controller\AdminBaseController;
/**
 * 文章管理
 */
class ArticleController extends AdminBaseController
{
	//定义数据表
	private $db;

	//构造函数，实例化ArticleModel
	public function __construct(){
		parent::__construct();
		$this->db=D('Article');
	}

	//添加文章
	public function add(){
		$this->display();
	}

	//文章列表
	public function index(){

		$this->display();
	}
}
